<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/menuAplicacionParametro.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateTblclaseempleadosTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">

            <h:form>
                <p:panel id="panel" styleClass="panelCabeza" header="#{bundle.CreateTblclaseempleadosTitle}">
                    <p:messages id="msgs"/> 
                    <h:panelGrid columns="2">
                        <h:outputLabel value="#{bundle.CreateTblclaseempleadosLabel_codClaseemp}" for="codClaseemp" />
                        <p:inputText id="codClaseemp" value="#{tblclaseempleadosController.selected.codClaseemp}" title="#{bundle.CreateTblclaseempleadosTitle_codClaseemp}" required="true" requiredMessage="#{bundle.CreateTblclaseempleadosRequiredMessage_codClaseemp}"/>
                        <h:outputLabel value="#{bundle.CreateTblclaseempleadosLabel_nomClaseemp}" for="nomClaseemp" />
                        <p:inputText id="nomClaseemp" value="#{tblclaseempleadosController.selected.nomClaseemp}" title="#{bundle.CreateTblclaseempleadosTitle_nomClaseemp}" required="true" requiredMessage="#{bundle.CreateTblclaseempleadosRequiredMessage_nomClaseemp}"/>
                        
                      
                    </h:panelGrid>

                    <p:commandButton action="#{tblclaseempleadosController.create}" update="panel" value="#{bundle.CreateTblclaseempleadosSaveLink}" />

                    <p:commandButton action="#{tblclaseempleadosController.prepareList}" value="#{bundle.CreateTblclaseempleadosShowAllLink}" immediate="true"/>

                </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
